package com.jiuyi.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * DATA: 2022/10/24
 * Author: 晨夕
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrdersVo {
    //主键
    private Long id;
    //订单号
    private String number;
    //订单状态 1待付款，2待派送，3已派送，4已完成，5已取消
    private Integer status;
    //下单用户
    private Long userId;
    //地址id
    private Long addressBookId;
    //下单时间
    private LocalDateTime orderTime;
    //结账时间
    private LocalDateTime checkoutTime;
    //支付方式 1微信,2支付宝
    private Integer payMethod;
    //实收金额
    private Double amount;
    //备注
    private String remark;

    private String phone;

    private String address;

    private String userName;

    private String consignee;

    private String name;
}
